<!DOCTYPE html>
<html lang="en-US" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>404 | react docs</title>
    <meta name="description" content="Not Found">
    <meta name="generator" content="VitePress v1.3.0">
    <link rel="preload stylesheet" href="/react-docs/assets/style.BNJ6TUN2.css" as="style">
    
    <script type="module" src="/react-docs/assets/app.G7GQHgc9.js"></script>
    <link rel="preload" href="/react-docs/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
    <link rel="icon" href="/react.ico">
    <script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
    <script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
  </head>
  <body>
    <div id="app"></div>
    <script>window.__VP_HASH_MAP__=JSON.parse("{\"index.md\":\"hPSgQZqd\",\"react-native_basic_env-android.md\":\"DqMayO6g\",\"react-native_basic_env-ios.md\":\"CkWjk_NU\",\"react-native_basic_introduce.md\":\"CS8vVX_5\",\"react-native_basic_structure.md\":\"C3DcWKeE\",\"react-native_build_publish-android.md\":\"BzkLQDCx\",\"react-native_build_publish-ios.md\":\"CNA4Yy2Q\",\"react-native_build_publish.md\":\"DOBwk2Z0\",\"react-native_components_button.md\":\"DEnhRfao\",\"react-native_components_image.md\":\"BtAA2VJw\",\"react-native_components_imagebackground.md\":\"C2FzPmp8\",\"react-native_components_keyboardavoidingview.md\":\"CLW55S9N\",\"react-native_components_modal.md\":\"Bae3kD9l\",\"react-native_components_scrollview.md\":\"e5FPdAp3\",\"react-native_components_switch.md\":\"BEaJGIu-\",\"react-native_components_text.md\":\"D5cuOP48\",\"react-native_components_textinput.md\":\"eqjPyD_6\",\"react-native_components_view.md\":\"aCFn2KMS\",\"react-native_principle_architecture.md\":\"CFyZONl7\",\"react-native_principle_communication.md\":\"DyNd3MGj\",\"react-native_principle_render.md\":\"DxCv6_aP\",\"react-native_ui_animate.md\":\"DSQ9VK8K\",\"react-native_ui_event.md\":\"BR-8tO1J\",\"react-native_ui_image.md\":\"CP4LtAMM\",\"react-native_ui_layout.md\":\"DPGIYU7M\",\"react-native_ui_network.md\":\"rnAFNBFi\",\"react-native_ui_style.md\":\"E8O3gte-\",\"react_basic_development.md\":\"C6qYcAVh\",\"react_basic_introduce.md\":\"fZWWdIUZ\",\"react_basic_tsx.md\":\"DByUo0VD\",\"react_components_base.md\":\"B1z9fl_L\",\"react_components_communication.md\":\"BNcwo3Eo\",\"react_components_controlled.md\":\"QxRckZOY\",\"react_components_createportal.md\":\"Ex_Dxh19\",\"react_components_hoc.md\":\"Dzs0aIHF\",\"react_components_practice.md\":\"ZFFJ_-yi\",\"react_components_suspense.md\":\"BPfqggbf\",\"react_css_css-atomic.md\":\"a20uPIMv\",\"react_css_css-in-js.md\":\"CUWVzbnz\",\"react_css_css-modules.md\":\"CGf14pek\",\"react_hooks_custom.md\":\"CaNMVWoZ\",\"react_hooks_usecallback.md\":\"DVS1Ooeh\",\"react_hooks_usecontext.md\":\"_UB24jBY\",\"react_hooks_usedebugvalue.md\":\"KiwotyDI\",\"react_hooks_usedeferredvalue.md\":\"CXq6iUH0\",\"react_hooks_useeffect.md\":\"KCjBkFvW\",\"react_hooks_useid.md\":\"k7uHG0jc\",\"react_hooks_useimmer.md\":\"Cmgt3f2V\",\"react_hooks_useimperativehandle.md\":\"QrmF3WqD\",\"react_hooks_useinsertioneffect.md\":\"DaYwJXNK\",\"react_hooks_uselayouteffect.md\":\"CMS8Mzvy\",\"react_hooks_usememo.md\":\"CmprAgDZ\",\"react_hooks_usereducer.md\":\"C3fLWepF\",\"react_hooks_useref.md\":\"CsdBXAky\",\"react_hooks_usestate.md\":\"BZyxNppQ\",\"react_hooks_usesyncexternalstore.md\":\"C9nPPzG2\",\"react_hooks_usetransition.md\":\"wP0bpxbB\",\"react_principle_requestidlecallback.md\":\"DYal_Q3P\",\"react_principle_vdom.md\":\"TK6xaJt_\",\"react_router_apis_await.md\":\"C9cf-0L_\",\"react_router_apis_link.md\":\"BryJjxOr\",\"react_router_apis_meta.md\":\"CGFy9X1M\",\"react_router_apis_navlink.md\":\"B6Igfdy5\",\"react_router_apis_redirect.md\":\"DrUu0bBH\",\"react_router_apis_scrollrestoration.md\":\"Ck-UN_fr\",\"react_router_boundary.md\":\"CaVehYQQ\",\"react_router_hooks_useactiondata.md\":\"BZTGRAg1\",\"react_router_hooks_useloaderdata.md\":\"D7TP6fEs\",\"react_router_hooks_uselocation.md\":\"DSlStqAw\",\"react_router_hooks_usenavigate.md\":\"BJWCwhif\",\"react_router_hooks_usenavigation.md\":\"Ax-0R8vL\",\"react_router_hooks_useparams.md\":\"r5GjnuLL\",\"react_router_hooks_userouteerror.md\":\"6hDOfA64\",\"react_router_hooks_usesearchparams.md\":\"DBV5jR2T\",\"react_router_hooks_usesubmit.md\":\"CwPfU5qt\",\"react_router_install.md\":\"BCGEIWM3\",\"react_router_lazy.md\":\"DVUcKnAo\",\"react_router_mode.md\":\"vpJFFhbY\",\"react_router_nav.md\":\"CmCpYDG_\",\"react_router_operation.md\":\"gH7Tts0c\",\"react_router_params.md\":\"RR8jX9GP\",\"react_router_router.md\":\"DV0pJOqP\",\"react_tools_babel.md\":\"B3NrJ-3A\",\"react_tools_swc.md\":\"CAQc7VwN\",\"react_zustand_install.md\":\"DkjSnUvU\",\"react_zustand_middleware.md\":\"B63WNPSB\",\"react_zustand_simplify.md\":\"Cep5lyK2\",\"react_zustand_state.md\":\"Cf3X0VOI\",\"react_zustand_subscribe.md\":\"cw5-PgCR\",\"self-media.md\":\"BQoC4pB6\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"react docs\",\"description\":\"this is react docs for xiaoman\",\"base\":\"/react-docs/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/logo.png\",\"search\":{\"provider\":\"local\"},\"lastUpdated\":{\"text\":\"更新时间\"},\"outline\":{\"label\":\"文章目录\"},\"nav\":[{\"text\":\"首页\",\"link\":\"/\"},{\"text\":\"React\",\"link\":\"/react/basic/introduce\"},{\"text\":\"React Native\",\"link\":\"/react-native/basic/introduce\"},{\"text\":\"自媒体\",\"link\":\"/self-media\"}],\"sidebar\":{\"/react/\":[{\"text\":\"入门\",\"items\":[{\"text\":\"React基本介绍\",\"link\":\"/react/basic/introduce\"},{\"text\":\"React开发环境搭建\",\"link\":\"/react/basic/development\"},{\"text\":\"tsx语法入门\",\"link\":\"/react/basic/tsx\"}]},{\"text\":\"工具\",\"items\":[{\"text\":\"Babel\",\"link\":\"/react/tools/babel\"},{\"text\":\"Swc\",\"link\":\"/react/tools/swc\"}]},{\"text\":\"原理\",\"items\":[{\"text\":\"vdom fiber diff\",\"link\":\"/react/principle/vdom\"},{\"text\":\"requestidlecallback\",\"link\":\"/react/principle/requestidlecallback\"}]},{\"text\":\"组件\",\"items\":[{\"text\":\"认识组件\",\"link\":\"/react/components/base\"},{\"text\":\"组件通信\",\"link\":\"/react/components/communication\"},{\"text\":\"受控组件\",\"link\":\"/react/components/controlled\"},{\"text\":\"传送组件\",\"link\":\"/react/components/createPortal\"},{\"text\":\"异步组件\",\"link\":\"/react/components/suspense\"},{\"text\":\"组件实战\",\"link\":\"/react/components/practice\"},{\"text\":\"高阶组件\",\"link\":\"/react/components/hoc\"}]},{\"text\":\"css方案\",\"items\":[{\"text\":\"css modules\",\"link\":\"/react/css/css-modules\"},{\"text\":\"css in js\",\"link\":\"/react/css/css-in-js\"},{\"text\":\"css 原子化\",\"link\":\"/react/css/css-atomic\"}]},{\"text\":\"Hooks\",\"items\":[{\"text\":\"数据驱动\",\"items\":[{\"text\":\"useState\",\"link\":\"/react/hooks/useState\"},{\"text\":\"useReducer\",\"link\":\"/react/hooks/useReducer\"},{\"text\":\"useImmer\",\"link\":\"/react/hooks/useImmer\"},{\"text\":\"useSyncExternalStore\",\"link\":\"/react/hooks/useSyncExternalStore\"},{\"text\":\"useTransition\",\"link\":\"/react/hooks/useTransition\"},{\"text\":\"useDeferredValue\",\"link\":\"/react/hooks/useDeferredValue\"}]},{\"text\":\"副作用\",\"items\":[{\"text\":\"useEffect\",\"link\":\"/react/hooks/useEffect\"},{\"text\":\"useLayoutEffect\",\"link\":\"/react/hooks/useLayoutEffect\"},{\"text\":\"useInsertionEffect\",\"link\":\"/react/hooks/useInsertionEffect\"}]},{\"text\":\"状态传递\",\"items\":[{\"text\":\"useRef\",\"link\":\"/react/hooks/useRef\"},{\"text\":\"useImperativeHandle\",\"link\":\"/react/hooks/useImperativeHandle\"},{\"text\":\"useContext\",\"link\":\"/react/hooks/useContext\"}]},{\"text\":\"状态派生\",\"items\":[{\"text\":\"useMemo\",\"link\":\"/react/hooks/useMemo\"},{\"text\":\"useCallback\",\"link\":\"/react/hooks/useCallback\"}]},{\"text\":\"工具Hooks\",\"items\":[{\"text\":\"useDebugValue\",\"link\":\"/react/hooks/useDebugValue\"},{\"text\":\"useId\",\"link\":\"/react/hooks/useId\"}]},{\"text\":\"其他\",\"items\":[{\"text\":\"自定义hooks\",\"link\":\"/react/hooks/custom\"}]}]},{\"text\":\"Router\",\"items\":[{\"text\":\"基本使用\",\"items\":[{\"text\":\"安装\",\"link\":\"/react/router/install\"},{\"text\":\"模式\",\"link\":\"/react/router/mode\"},{\"text\":\"路由\",\"link\":\"/react/router/router\"},{\"text\":\"传参\",\"link\":\"/react/router/params\"},{\"text\":\"懒加载\",\"link\":\"/react/router/lazy\"},{\"text\":\"操作\",\"link\":\"/react/router/operation\"},{\"text\":\"导航\",\"link\":\"/react/router/nav\"},{\"text\":\"边界处理\",\"link\":\"/react/router/boundary\"}]},{\"text\":\"API\",\"items\":[{\"text\":\"Await\",\"link\":\"/react/router/apis/await\"},{\"text\":\"Link\",\"link\":\"/react/router/apis/link\"},{\"text\":\"Meta\",\"link\":\"/react/router/apis/meta\"},{\"text\":\"NavLink\",\"link\":\"/react/router/apis/navlink\"},{\"text\":\"redirect\",\"link\":\"/react/router/apis/redirect\"},{\"text\":\"ScrollRestoration \",\"link\":\"/react/router/apis/scrollRestoration\"}]},{\"text\":\"Hooks\",\"items\":[{\"text\":\"useNavigate\",\"link\":\"/react/router/hooks/useNavigate\"},{\"text\":\"useNavigation\",\"link\":\"/react/router/hooks/useNavigation\"},{\"text\":\"useParams\",\"link\":\"/react/router/hooks/useParams\"},{\"text\":\"useSearchParams\",\"link\":\"/react/router/hooks/useSearchParams\"},{\"text\":\"useLocation\",\"link\":\"/react/router/hooks/useLocation\"},{\"text\":\"useLoaderData\",\"link\":\"/react/router/hooks/useLoaderData\"},{\"text\":\"useActionData\",\"link\":\"/react/router/hooks/useActionData\"},{\"text\":\"useRouteError\",\"link\":\"/react/router/hooks/useRouteError\"},{\"text\":\"useSubmit\",\"link\":\"/react/router/hooks/useSubmit\"}]}]},{\"text\":\"Zustand\",\"items\":[{\"text\":\"安装\",\"link\":\"/react/zustand/install\"},{\"text\":\"状态处理\",\"link\":\"/react/zustand/state\"},{\"text\":\"状态简化\",\"link\":\"/react/zustand/simplify\"},{\"text\":\"中间件\",\"link\":\"/react/zustand/middleware\"},{\"text\":\"订阅\",\"link\":\"/react/zustand/subscribe\"}]}],\"/react-native/\":[{\"text\":\"入门\",\"items\":[{\"text\":\"简介\",\"link\":\"/react-native/basic/introduce\"},{\"text\":\"环境搭建\",\"items\":[{\"text\":\"Android环境搭建\",\"link\":\"/react-native/basic/env-android\"},{\"text\":\"iOS环境搭建\",\"link\":\"/react-native/basic/env-ios\"}]},{\"text\":\"目录结构\",\"link\":\"/react-native/basic/structure\"}]},{\"text\":\"原理\",\"items\":[{\"text\":\"架构\",\"link\":\"/react-native/principle/architecture\"},{\"text\":\"渲染\",\"link\":\"/react-native/principle/render\"},{\"text\":\"通讯\",\"link\":\"/react-native/principle/communication\"}]},{\"text\":\"界面和交互\",\"items\":[{\"text\":\"样式\",\"link\":\"/react-native/ui/style\"},{\"text\":\"布局\",\"link\":\"/react-native/ui/layout\"},{\"text\":\"图片\",\"link\":\"/react-native/ui/image\"},{\"text\":\"事件\",\"link\":\"/react-native/ui/event\"},{\"text\":\"动画\",\"link\":\"/react-native/ui/animate\"},{\"text\":\"网络\",\"link\":\"/react-native/ui/network\"}]},{\"text\":\"组件\",\"items\":[{\"text\":\"button\",\"link\":\"/react-native/components/button\"},{\"text\":\"text\",\"link\":\"/react-native/components/text\"},{\"text\":\"image\",\"link\":\"/react-native/components/image\"},{\"text\":\"imageBackground\",\"link\":\"/react-native/components/imageBackground\"},{\"text\":\"textInput\",\"link\":\"/react-native/components/textInput\"},{\"text\":\"view\",\"link\":\"/react-native/components/view\"},{\"text\":\"scrollView\",\"link\":\"/react-native/components/scrollView\"},{\"text\":\"switch\",\"link\":\"/react-native/components/switch\"},{\"text\":\"modal\",\"link\":\"/react-native/components/modal\"},{\"text\":\"keyboardAvoidingView\",\"link\":\"/react-native/components/keyboardAvoidingView\"}]},{\"text\":\"发布\",\"items\":[{\"text\":\"打包\",\"link\":\"/react-native/build/build\"},{\"text\":\"iOS上架\",\"link\":\"/react-native/build/publish-ios\"},{\"text\":\"Android上架\",\"link\":\"/react-native/build/publish-android\"}]}]},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/message163/react-docs.git\"}],\"docFooter\":{\"prev\":\"上一页\",\"next\":\"下一页\"},\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright ©2025-present xiaoman\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
    
  </body>
</html>